﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IDAL
{
    /// <summary>
    /// 所有接口的通用操作
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IBaseDAL<T>
    {
        int Add(T model);
        int Upt(T model);
        int Del(object id);

        List<T> GetData();

    }
}
